package com.vastcom.fabric.server.tools;

import org.springframework.beans.factory.annotation.Value;

public class  FileTools {



/*

//本机虚拟机

//    public static final String  CRYPTO_PATH="/opt/goworkspace/src/github.com/hyperledger/fabric-samples/my-network/crypto-config/";
//    证书地址
    public static final String  CRYPTO_PATH="/home/user/go/src/github.com/hyperledger/fabric-samples/first-network/crypto-config/";


//    public static final String  RAWMATERIA_ADMIN_MSP_KEY_PATH="peerOrganizations/rawmaterial.4media.video/users/Admin@rawmaterial.4media.video/msp/keystore";
    public static final String  RAWMATERIA_ADMIN_MSP_KEY_PATH="peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore";
    public static final String BAKER_ADMIN_MSP_KEY_PATH="";

//    public static final String RAWMATERIA_ADMIN_MSP_KWY_NAME="812d55e22c9d0b94cf0f2e7305738592af11e58db8274bbf519e17bc1b29a9b2_sk";
    public static final String RAWMATERIA_ADMIN_MSP_KWY_NAME="a26e6c6666805ae340783372c893cbf6619eb5e9db5b6875e4ca7a2a510729b2_sk";
//                                                            9dc610542886521929e503d2c72e2ac8c75bbb503ecaf28cb6c004d5e01a04f5_sk

    //  public static final String RAWMATERIA_ADMIN_MSP_KWY_NAME="9dc610542886521929e503d2c72e2ac8c75bbb503ecaf28cb6c004d5e01a04f5_sk";
    public static final String BAKER_ADMIN_MSP_KEY_NAME="";

//    public static final String RAWMATERIA_ADMIN_CERT_PATH="peerOrganizations/rawmaterial.4media.video/users/Admin@rawmaterial.4media.video/msp/admincerts";
    public static final String RAWMATERIA_ADMIN_CERT_PATH="peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts";
    public static final String BAKER_ADMIN_CERT_PATH="";

//    public static final String  RAWMATERIA_ADMIN_CERT_FILENAME="Admin@rawmaterial.4media.video-cert.pem";
    public static final String  RAWMATERIA_ADMIN_CERT_FILENAME="Admin@org1.example.com-cert.pem";
    public static final String BAKER_ADMIN_CERT_FILENAME="";


//    public static final String ORDERER_TLS_FILE="ordererOrganizations/4media.video/tlsca/tlsca.4media.video-cert.pem";
    public static final String ORDERER_TLS_FILE="ordererOrganizations/example.com/tlsca/tlsca.example.com-cert.pem";
*/




///阿里云
    //    public static final String  CRYPTO_PATH="/opt/goworkspace/src/github.com/hyperledger/fabric-samples/my-network/crypto-config/";
//    证书地址
    public static final String  CRYPTO_PATH="/root/go/src/github.com/hyperledger/fabric-samples/first-network/crypto-config/";


    //    public static final String  RAWMATERIA_ADMIN_MSP_KEY_PATH="peerOrganizations/rawmaterial.4media.video/users/Admin@rawmaterial.4media.video/msp/keystore";
    public static final String  RAWMATERIA_ADMIN_MSP_KEY_PATH="peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore";
    public static final String BAKER_ADMIN_MSP_KEY_PATH="";

    //    public static final String RAWMATERIA_ADMIN_MSP_KWY_NAME="812d55e22c9d0b94cf0f2e7305738592af11e58db8274bbf519e17bc1b29a9b2_sk";
    public static final String RAWMATERIA_ADMIN_MSP_KWY_NAME="ea79f605b013c8058c58f5dbcfcfe237f636febb50ad80d4dd3419ab8c6fcaa3_sk";

//                                                            9dc610542886521929e503d2c72e2ac8c75bbb503ecaf28cb6c004d5e01a04f5_sk

    //  public static final String RAWMATERIA_ADMIN_MSP_KWY_NAME="9dc610542886521929e503d2c72e2ac8c75bbb503ecaf28cb6c004d5e01a04f5_sk";
    public static final String BAKER_ADMIN_MSP_KEY_NAME="";

    //    public static final String RAWMATERIA_ADMIN_CERT_PATH="peerOrganizations/rawmaterial.4media.video/users/Admin@rawmaterial.4media.video/msp/admincerts";
    public static final String RAWMATERIA_ADMIN_CERT_PATH="peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts";
    public static final String BAKER_ADMIN_CERT_PATH="";

    //    public static final String  RAWMATERIA_ADMIN_CERT_FILENAME="Admin@rawmaterial.4media.video-cert.pem";
    public static final String  RAWMATERIA_ADMIN_CERT_FILENAME="Admin@org1.example.com-cert.pem";
    public static final String BAKER_ADMIN_CERT_FILENAME="";


    //    public static final String ORDERER_TLS_FILE="ordererOrganizations/4media.video/tlsca/tlsca.4media.video-cert.pem";
    public static final String ORDERER_TLS_FILE="ordererOrganizations/example.com/tlsca/tlsca.example.com-cert.pem";

}
